﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student 
    {
        public int Age { get; set; }
        public string Name { get; set; }
        public int Num { get; set; }
        public Student()
        {

        }
        public Student(int age, string name, int num)
        {
            this.Age = age;
            this.Name = name;
            this.Num = num;
        }
        public override string ToString()
        {
            return $"age:{Age},name:{Name},num:{Num}";
        }

        
    }
}
